package com.weiyuwqj.api.model.convert;

import java.text.SimpleDateFormat;

/**
 * Created by zhangyong on 2016/3/25.
 */
public class AccountRechargeAddtimeConvert extends DefaultConvert{
    @Override
    public Object convert(Object val) {
        if(val==null) return "";
        SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String s=sdf.format(val);

        return s;
    }
}
